function t_menu__highlightActiveLinks(t){var o,i=window.location.href,r=window.location.pathname,t=("/"===i[i.length-1]&&(o=i.slice(0,-1)),""===(r="/"===(r="/"===r[r.length-1]?r.slice(0,-1):r)[0]?r.slice(1):r)&&(r="/"),document.querySelectorAll(t));Array.prototype.forEach.call(t,function(t){var e,n=t.getAttribute("href");!n||(e=t.href)!==i&&e!==r&&n!==i&&n!==r&&o!==i&&o!==r||t.classList.add("t-active")})}function t_menu__findAnchorLinks(t,e){window.innerWidth<980||(t=(t=document.getElementById("rec"+t))?t.querySelectorAll(e+'[href*="#"]:not(.tooltipstered)'):[]).length&&t_menu__updateActiveLinks(t,e)}function t_menu__updateActiveLinks(o,t){var t=t.slice(2),i=(t=".t"+parseInt(t,10),o=Array.prototype.slice.call(o),null),n=[],r={},t=((o=o.reverse()).forEach(function(t){var e=t_menu__getSectionByHref(t);e&&e.id&&(n.push(e),r[e.id]=t)}),t_menu__updateSectionsOffsets(n),n.sort(function(t,e){t=parseInt(t.getAttribute("data-offset-top"),10)||0;return(parseInt(e.getAttribute("data-offset-top"),10)||0)-t}),window.addEventListener("resize",t_throttle(function(){t_menu__updateSectionsOffsets(n)},200)),document.querySelectorAll(t));Array.prototype.forEach.call(t,function(t){t.addEventListener("displayChanged",function(){t_menu__updateSectionsOffsets(n)})}),setInterval(function(){t_menu__updateSectionsOffsets(n)},5e3),t_menu__highlightNavLinks(o,n,r,i),o.forEach(function(e,n){e.addEventListener("click",function(){var t=t_menu__getSectionByHref(e);!e.classList.contains("tooltipstered")&&t&&t.id&&(o.forEach(function(t,e){e===n?t.classList.add("t-active"):t.classList.remove("t-active")}),i=t.id)})}),window.addEventListener("scroll",t_throttle(function(){i=t_menu__highlightNavLinks(o,n,r,i)},100))}function t_menu__updateSectionsOffsets(t){t.forEach(function(t){var e=t.getBoundingClientRect().top+window.pageYOffset;t.setAttribute("data-offset-top",e.toString())})}function t_menu__getSectionByHref(t){var e,n;if(t)return n=t.getAttribute("href"),e=n?n.replace(/\s+/g,""):"",0===e.indexOf("/")&&(e=e.slice(1)),n&&t.matches('[href*="#rec"]')?(e=e.replace(/.*#/,""),document.getElementById(e)):(n='.r[data-record-type="215"] a[name="'+(t="number"==typeof(e=-1!==(t=n?n.trim():"").indexOf("#")&&t.indexOf("#"))||"number"==typeof(e=-1!==t.indexOf("/")&&t.indexOf("/"))?t.slice(e+1):t)+'"]',document.querySelector(n)?document.querySelector(n).closest(".r"):null)}function t_menu__highlightNavLinks(t,e,n,o){var i=window.pageYOffset,r=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),l=o,a=e.length?e[e.length-1]:null,a=a&&parseInt(a.getAttribute("data-offset-top"),10)||0;if(e.length&&null===o&&i+300=r-window.innerHeight){null===o&&u&&!u.classList.contains("t-active")?(t.forEach(function(t){t.classList.remove("t-active")}),u&&u.classList.add("t-active"),l=null):null!==o&&e[c].id&&o===e[c].id&&(l=null);break}}return l}function t_menu__setBGcolor(t,e){e=document.querySelectorAll(e);Array.prototype.forEach.call(e,function(t){980=n?t.style.transform==="translateY(-"+e+"px)"&&t_menu__slideElement(t,e,"toBottom"):"translateY(0px)"===t.style.transform?t_menu__slideElement(t,e,"toTop"):(t.style.transform="translateY(-"+e+"px)",t.style.opacity="0"))})}}function t_menu__changeBgOpacity(t,e){var n=["t280","t282","t451","t466"].some(function(t){return-1!==e.indexOf(t)});if(!(window.innerWidth<=980)||n){n=document.getElementById("rec"+t);if(!n)return!1;t=n.querySelectorAll(e);Array.prototype.forEach.call(t,function(t){var e=t.getAttribute("data-bgcolor-rgba"),n=t.getAttribute("data-bgcolor-rgba-afterscroll"),o=t.getAttribute("data-bgopacity"),i=t.getAttribute("data-bgopacity-two"),r=t.getAttribute("data-menushadow")||"0",l="100"===r?r:"0."+r;t.style.backgroundColor=20